﻿<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>普通导航栏</title>
  <style>
    /* div {
      width: 440px;
      height: 50px;
    } */

    a {
      display: inline-block;
      width: 80px;
      line-height: 50px;
      background-color: #ff0000;
      text-decoration: none;
      text-align: center;
      color: white;
    }

    a:hover {
      background-color: #ffa500;
    }
  </style>
</head>

<body>
  <div>
    <a href="#">导航1</a>
    <a href="#">导航2</a>
    <a href="#">导航3</a>
    <a href="#">导航4</a>
    <a href="#">导航5</a>
  </div>
</body>

</html>